package com.rexolar.openapi.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author zhusiyu
 * @description: RequestMetrics 埋点类型
 * @date 2020-02-24
 **/
@Getter
@AllArgsConstructor
public enum RequestMetricsEnum {
    /**
     *
     */
    REQUEST("request","请求"),
    ERROR_TOKEN("errorToken","错误的token"),
    ILLEGAL("illegal","非法请求"),
    RISKED("risked","被风控"),
    BLOCKED("blocked","被限流"),
    RESPONSE("response","业务成功"),
    FAIL("fail","业务失败"),
    BIZ_EXCEPTION("biz_exception","业务系统异常"),
    EXCEPTION("exception","开放平台异常"),
    ;
    private String metricType;
    private String desc;
}
